package com.lrkj.common.core.domain.entity;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 报修收费标准对象 tb_repair_fee_scale
 *
 * @author yajun_ren
 * @date 2022-04-22
 */
@Data
public class RepairFeeScale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 报修项目ID */
    @Excel(name = "报修项目ID")
    private String repairProjectId;

    /** 小区ID */
    @Excel(name = "小区ID")
    private String communityId;

    /** 人工费 */
    @Excel(name = "人工费")
    private String labourCost;

    /** 材料费 */
    @Excel(name = "材料费")
    private String materialCost;

    /** 机械费 */
    @Excel(name = "机械费")
    private String mechanicalFee;

    //小区名称
    private String communityName;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairProjectId", getRepairProjectId())
            .append("communityId", getCommunityId())
            .append("labourCost", getLabourCost())
            .append("materialCost", getMaterialCost())
            .append("mechanicalFee", getMechanicalFee())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
